﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SilverlightCairngorm.Control
{
    /// <summary>
    /// Arguments used when raising a .net event to signle
    /// a CairngormEvent has been raised.
    /// </summary>
    public class CairngormEventArgs
    {
        /// <summary>
        /// A constructor recieving the raised CairngormEvent instance.
        /// </summary>
        /// <param name="cairngormEvent"></param>
        public CairngormEventArgs(CairngormEvent cairngormEvent)
        {
            raisedEvent = cairngormEvent;
        }

        /// <summary>
        /// The CairngormEvent Raised
        /// </summary>
        public CairngormEvent raisedEvent { get; set;}
    }
}
